package com.trustasia.hibernate.pojo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;


/**
 * Users entity. @author MyEclipse Persistence Tools
 */

public class Users  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private String name;
     private String loginname;
     private String loginpassword;
     private String status;
     private String phone;
     private String email;
     private Date enrolldate;
     private Date closedate;
     private String paymenttpye;
     private String career;
     private String nationality;
     private String sex;
     private String company;
     private String zip;
     private Set usersbusinesses = new HashSet(0);


    // Constructors

    /** default constructor */
    public Users() {
    }

	/** minimal constructor */
    public Users(String name, String loginpassword, String status) {
        this.name = name;
        this.loginpassword = loginpassword;
        this.status = status;
    }
    
    /** full constructor */
    public Users(String name, String loginname, String loginpassword, String  status, String phone, String email, Date enrolldate, Date closedate, String paymenttpye, String career, String nationality,String  sex, String company, String zip, Set usersbusinesses) {
        this.name = name;
        this.loginname = loginname;
        this.loginpassword = loginpassword;
        this.status = status;
        this.phone = phone;
        this.email = email;
        this.enrolldate = enrolldate;
        this.closedate = closedate;
        this.paymenttpye = paymenttpye;
        this.career = career;
        this.nationality = nationality;
        this.sex = sex;
        this.company = company;
        this.zip = zip;
        this.usersbusinesses = usersbusinesses;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getLoginname() {
        return this.loginname;
    }
    
    public void setLoginname(String loginname) {
        this.loginname = loginname;
    }

    public String getLoginpassword() {
        return this.loginpassword;
    }
    
    public void setLoginpassword(String loginpassword) {
        this.loginpassword = loginpassword;
    }

    public String getStatus() {
        return this.status;
    }
    
    public void setStatus(String status) {
        this.status = status;
    }

    public String getPhone() {
        return this.phone;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return this.email;
    }
    
    public void setEmail(String email) {
        this.email = email;
    }

    public Date getEnrolldate() {
        return this.enrolldate;
    }
    
    public void setEnrolldate(Date enrolldate) {
        this.enrolldate = enrolldate;
    }

    public Date getClosedate() {
        return this.closedate;
    }
    
    public void setClosedate(Date closedate) {
        this.closedate = closedate;
    }

    public String getPaymenttpye() {
        return this.paymenttpye;
    }
    
    public void setPaymenttpye(String paymenttpye) {
        this.paymenttpye = paymenttpye;
    }

    public String getCareer() {
        return this.career;
    }
    
    public void setCareer(String career) {
        this.career = career;
    }

    public String getNationality() {
        return this.nationality;
    }
    
    public void setNationality(String nationality) {
        this.nationality = nationality;
    }

    public String getSex() {
        return this.sex;
    }
    
    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getCompany() {
        return this.company;
    }
    
    public void setCompany(String company) {
        this.company = company;
    }

    public String getZip() {
        return this.zip;
    }
    
    public void setZip(String zip) {
        this.zip = zip;
    }

    public Set getUsersbusinesses() {
        return this.usersbusinesses;
    }
    
    public void setUsersbusinesses(Set usersbusinesses) {
        this.usersbusinesses = usersbusinesses;
    }
   








}